tools/libs/light: update xenstore entry when setting max domain memory
authorJuergen Gross <jgross@suse.com>
Fri, 20 May 2022 10:18:50 +0000 (12:18 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 20 May 2022 10:18:50 +0000 (12:18 +0200)
commit77bbea1bafe2d5155e6325bdd782c9f19f8a6aea
treee7efa093a38e6bb816cd10da0457f833cb2d4be9
parentc038304b46ffb3d3d314819d1331ca61e9ff668b
tools/libs/light: update xenstore entry when setting max domain memory

libxl_domain_setmaxmem() called during "xl mem-max" should update the
domain's memory/static-max Xenstore node, as otherwise "xl mem-set"
won't be able to set the memory size to the new maximum.

Adjust the related comments and documentation accordingly.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
docs/man/xl.1.pod.in
tools/libs/light/libxl_mem.c